//
//  ThreeViewController.m
//  任务列表练习
//
//  Created by apple on 15/9/20.
//  Copyright © 2015年 戴维营. All rights reserved.
//

#import "ThreeViewController.h"
#import "SecondViewController.h"

@interface ThreeViewController ()

@end

@implementation ThreeViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.title = @"任务详情";
    
    self.view.backgroundColor = [UIColor whiteColor];
    
    //导航栏左
    
    self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"返回上一层" style:UIBarButtonItemStylePlain target:self action:@selector(didBackClick:)];
    
}

- (void)didBackClick:(UIButton *)sender
{
    
    [self.navigationController popViewControllerAnimated:YES];
}
@end
